function onLoadHandler() {
  var canvas  = document.getElementById('canvas');
  var  context = canvas.getContext('2d');
  context.font = "12px Arial";
  context.fillText("Score:",3,11);
  context.fillText("HP:",3,26);
  context.fillStyle="#FF0000";
  context.fillRect(25,16,50,10);
  }
window.onload = onLoadHandler;